package com.tuling.mapper;

import com.tuling.entity.User;
import org.apache.ibatis.annotations.Flush;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

/***
 * @Author 徐庶   QQ:1092002729
 * @Slogan 致敬大师，致敬未来的你
 */
public interface UserMapper {
    User selectById( Integer id);

    // rowBounds必须要返回集合&数组类型才有用
    List<User> selectByDtoId(User dto, RowBounds rowBounds);

    void updateForName(String id,String username);
//void updateForName();
}
